package dayOOP0714;

class ObserveSubmarine{
    int width;
}


public class Test1 {

    public static void main(String[] args) {
        ObserveSubmarine  t=new ObserveSubmarine();
        t.width=3;
        test1(t);
        System.out.println(t.width);
    }

    private static void test1(ObserveSubmarine t1) {
        t1.width=4;
    }
}






